<div class="panel panel-default">
	<div class="panel-heading">我发布的题目</div>
	<div class="panel-body">
		<form id="form_search" name="form_search" method="get" action="/exam/test/ajaxIndex" class="form-horizontal" role="form" onsubmit="return false;">
			<input type="hidden" name="page" value="1" />
			<input type="hidden" name="rows" value="15" />
			<div class="form-group">
				<label for="test_type" class="col-sm-2 control-label">题目类型</label>
				<div class="col-sm-2">
					<select class="form-control" name="test_type" id="test_type">
						<option>全部</option>
						<?PHP FOREACH($test_types AS $test_type_key => $test_type_value): ?>
							<option value="<?=$test_type_key?>"><?=$test_type_value?></option>
						<?PHP ENDFOREACH;?>
					</select>
				</div>
				<label for="start_test_insert_date" class="col-sm-2 control-label">发布时间</label>
				<div class="col-sm-3 input-group date form-date">
					<span class="input-group-addon">从</span>
					<input
						type="date"
						name="start_test_insert_date"
						id="start_test_insert_date"
						class="form-control"
						value="<?=date('Y-m-d', strtotime('-90 days'))?>"
						readonly="readonly"
					/>
					<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
				</div>
				<div class="col-sm-3 input-group date form-date">
					<span class="input-group-addon">到</span>
					<input
						type="date"
						name="end_test_insert_date"
						id="end_test_insert_date"
						class="form-control"
						value="<?=date('Y-m-d')?>"
						readonly="readonly"
					/>
					<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
				</div>
			</div>
			<div class="form-group">
				<label for="test_check_flag" class="col-sm-2 control-label">是否审核</label>
				<div class="col-sm-2">
					<select name="test_check_flag" id="test_check_flag" class="form-control">
						<option>全部</option>
						<option value="T">已审核</option>
						<option value="F">未审核</option>
					</select>
				</div>
				<label for="start_test_price" class="col-sm-2 control-label">价格范围</label>
				<div class="col-sm-3 input-group">
					<span class="input-group-addon">从</span>
					<input type="text" name="start_test_price" id="start_test_price" class="form-control text-right" value="0.00" />
				</div>
				<div class="col-sm-3 input-group">
					<span class="input-group-addon">到</span>
					<input type="text" name="end_test_price" id="end_test_price"  class="form-control text-right" value="999999999.99" />
				</div>
			</div>
			<div class="form-group">
				<label for="category_code" class="col-sm-2 control-label">展示分类</label>
				<div class="col-sm-10 pull-right js-category-container">
					<!-- select bar from js -->
				</div>			
			</div>
			<div class="form-group">
				<label for="test_question" class="col-sm-2 control-label">问题</label>
				<div class="col-sm-10">
					<input type="text" class="form-control"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-12">
					<button type="submit" class="btn btn-default">查询</button>					
				</div>
			</div>
		</form>
	</div>
	<div class="panel-heading"></div>
	<div class="panel-body">
		<div class="table-responsive">
			<table class="table table-striped table-hover table-condensed small" id="list_table">
				<thead>
					<tr>
						<th class="text-center" width="60">类型</th>
						<th class="text-center">问题详情</th>
						<th class="text-center" width="60">价格</th>
						<th class="text-center" width="60">审核</th>
						<th class="text-center" width="130">添加时间</th>
						<th class="text-center" width="60">编辑</th>
					</tr>
				</thead>
				<tbody>
					<tr><td cosspan="5">等待加载.........</td></tr>
				</tbody>
				<tfoot>
					<tr>
						<td colspan="5" class="text-center js_paging"></td>
					</tr>
				</tfoot>
			</table>
		</div>		
	</div>
</div>
<script src="/layout/js/datetimepicker/datetimepicker.min.js"></script>
<script src="/layout/js/datetimepicker/datetimepicker.zh-CN.js"></script>
